import React, { Component } from 'react'

export default class Props2 extends Component {
    render() {
        const { num } = this.props
        return (
            <div>
                <h2>父向子传递数据 -- { num }</h2>
            </div>
        )
    }
}
